/*
 * Copyright (c) 2001 Boris Pruessmann and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *    Boris Pruessmann - Initial implementation.
 */
package net.sourceforge.p4eclipse.core.syncinfo;

import java.io.Serializable;

import net.sourceforge.p4eclipse.core.Policy;

/**
  * @version 	1.0
  * @author		<a href="mailto:bpruessmann@users.sourceforge.net">Boris Pruessmann</a>
  */
public class FolderSyncInfo implements Serializable
{
	private String depotFileName;

	public FolderSyncInfo()
	{
		this(null);
	}

	public FolderSyncInfo(String depotFileName)
	{
		this.depotFileName = depotFileName;
	}

	/**
	  * Gets the depotFileName.
	  * @return Returns a String
	  */
	public String getDepotFileName()
	{
		return depotFileName;
	}

	/**
	  * Sets the depotFileName.
	  * @param depotFileName The depotFileName to set
	  */
	public void setDepotFileName(String depotFileName)
	{
		Policy.assertNotNull(depotFileName);
		this.depotFileName = depotFileName;
	}
}
